package com.laowang.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * h5用户对象 tb_wp_user
 *
 * @author laowang
 * @date 2023-02-10
 */
@NoArgsConstructor
@Data
public class TbWpUser implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    @ApiModelProperty(value = "姓名", required = false)
    private String name;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号", required = false)
    private String phone;

    /**
     * 运营商
     */
    @Excel(name = "运营商")
    @ApiModelProperty(value = "运营商", required = false)
    private String operator;

    /**
     * 套餐名
     */
    @Excel(name = "套餐名")
    @ApiModelProperty(value = "套餐名", required = false)
    private String meal;

    /** 妈妈手机号 */
    @Excel(name = "妈妈手机号")
    @ApiModelProperty(value = "妈妈手机号", required = false)
    private String mmPhone;

    /** 妈妈运营商 */
    @Excel(name = "妈妈运营商")
    @ApiModelProperty(value = "妈妈运营商", required = false)
    private String mmOperator;

    /** 妈妈套餐名 */
    @Excel(name = "妈妈套餐名")
    @ApiModelProperty(value = "妈妈套餐名", required = false)
    private String mmMeal;

    /** 奶奶手机号 */
    @Excel(name = "奶奶手机号")
    @ApiModelProperty(value = "奶奶手机号", required = false)
    private String nnPhone;

    /** 奶奶运营商 */
    @Excel(name = "奶奶运营商")
    @ApiModelProperty(value = "奶奶运营商", required = false)
    private String nnOperator;

    /** 奶奶套餐名 */
    @Excel(name = "奶奶套餐名")
    @ApiModelProperty(value = "奶奶套餐名", required = false)
    private String nnMeal;

    /** 爷爷手机号 */
    @Excel(name = "爷爷手机号")
    @ApiModelProperty(value = "爷爷手机号", required = false)
    private String yyPhone;

    /** 爷爷运营商 */
    @Excel(name = "爷爷运营商")
    @ApiModelProperty(value = "爷爷运营商", required = false)
    private String yyOperator;

    /** 爷爷套餐名 */
    @Excel(name = "爷爷套餐名")
    @ApiModelProperty(value = "爷爷套餐名", required = false)
    private String yyMeal;



    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date createTime;
}
